stylecontext: pass down the requested change type to invalidation
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 12 Jun 2012 19:04:52 +0000 (15:04 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 13 Jun 2012 21:04:47 +0000 (17:04 -0400)
<Company>: cosimoc: yes, that totally makes sense
<Company>: looks like a copy/paste error from when i factored out that
           function

gtk/gtkstylecontext.c

index 04f646133c5b6787c98f773eec67d4d4d640e267..7fd5df398e1b9f62ad75ddd69a5a373e4b1796df 100644 (file)
@@ -1054,7 +1054,7 @@ gtk_style_context_queue_invalidate_internal (GtkStyleContext *context,
     }
   else
     {
-      _gtk_style_context_queue_invalidate (context, GTK_CSS_CHANGE_STATE);
+      _gtk_style_context_queue_invalidate (context, change);
       /* XXX: We need to invalidate siblings here somehow */
     }
 }